﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editform.aspx.cs" Inherits="Crm_editform" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑表单</title>
    <link href="crm.css" rel="stylesheet" type="text/css" />

    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function()
        {

        });
    </script>

</head>
<body>
    <div id="images">
    </div>
    <form id="form1" runat="server">
    <div style="padding: 0 5px;">
        <div class="nav" style="padding: 5px;">
            当前位置：<a href="FormList.aspx" style="color: #fff;">表单管理</a> ＞<%=cname %></div>
        <div style="margin-bottom: 5px;">
            <table class="tblist" style="width: 800px; text-align: left">
                <colgroup>
                    <col align="right" style="width: 100px;" class="bg1" />
                </colgroup>
                <tr class="ptitle" align="center">
                    <td colspan="4" align="center">
                        表单基本设置
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px">
                        表单名称：
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtFormName" Width="100px" MaxLength="50" CssClass="inputtxt" runat="server"></asp:TextBox>
                        例如:留言板
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px">
                        上传目录：
                    </td>
                    <td colspan="3">
                        ~/upload/<asp:TextBox ID="txtUpload_path" Width="100px" MaxLength="50" CssClass="inputtxt" runat="server"></asp:TextBox>
                        上传文件的存放目录
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px">
                        限定大小：
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtLimitSize" Width="200px" MaxLength="50" Text="0" CssClass="inputtxt" runat="server"></asp:TextBox>
                        上传文件总大小限定.0=不限制
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px">
                        备注：
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtRemark" Width="428px" MaxLength="500" TextMode="MultiLine" CssClass="inputtxt" runat="server" Height="30px"></asp:TextBox>
                    </td>
                </tr>
                 <tr>
                    <td style="width: 100px">
                        sql语句：
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtSqlstr" Width="500px" MaxLength="500" TextMode="MultiLine" CssClass="inputtxt" runat="server" Height="60px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px">
                    </td>
                    <td colspan="3">
                        <asp:Button ID="btnSaveClick" runat="server" Text="保存表单信息" OnClick="btnSaveClick_Click" />
                    </td>
                </tr>
              
            </table>
        </div>        
    </div>
    </form>
</body>
</html>
